import request from "../utils/request";
// 获取商户信息
export async function fetchMerchantInfo(params={}) {
    return await request.post('merchantCore/merchantInfo', params)
}
export async function updateApiConfig(params) {
    return await request.post('merchantCore/updateApiIp', params)
}
export async function updateLoginIp(params) {
    return await request.post('merchantCore/updateLoginIp', params)
}
export async function updateCallBack(params) {
    return await request.post('merchantCore/updateMerchantNotice', params)
}
export async function fetchApplication(params) {
    return await request.post('merchantCore/list', params)
}
export async function increaseApplication(params) {
    return await request.post('merchantCore/add', params)
}
export async function increasePassword(params) {
    return await request.post('merchantCore/firstSetTransPwd', params)
}
export async function updatePassword(params) {
    return await request.post('merchantCore/updateTransPwd', params)
}
export async function sendSetEmailCode(params) {
    return await request.post('merchantCore/sendFirstSetTransPwdEmail', params)
}
export async function sendUpdateEmailCode(params) {
    return await request.post('merchantCore/sendUpdateTransPwdEmail', params)
}
// 查看apikey 交易密码确认
export async function apiKeyPwdConfirm(params) {
    return await request.post('merchantCore/selectApiKey', params)
}
// 获取虚拟卡列表
export async function fetchVirtualCardList(params) {
    return await request.post('merchantCore/fixedVaList', params)
}
// 添加虚拟卡
export async function increaseVirtualCard(params) {
    return await request.post('merchantCore/addFixedVa', params)
}
